
const EventEmitter = require('events');

class MyEmitter extends EventEmitter {}

const myEmitter = new MyEmitter();

const excuteEvent = require('../service/event');

/**
 * 记录每日统计表
 */
myEmitter.on('record_fast_operate', (par, type) => {
    excuteEvent.recordFastStatisByDay(par, type)
});

module.exports = myEmitter;
